<#-- 导入变量定义文件 -->
<#include "../template/include/assign.ftl">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>供应商历史记录</title>
<#-- 导入静态资源文件 -->
<#include "../template/include/source.ftl">
<link href="${web_static}/admin/css/list.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	.page{
		float:right;
		padding-top: 15px;
		margin-right: 15px;
	}
</style>
</head>
<#include "../template/template_listPage.ftl">
<body class="list">
	<div class="body">
		<div class="listBar">
			<h1><span class="icon">&nbsp;</span>供应商历史列表&nbsp;</h1>
		</div>
		<@pageList page=page id="listForm" query="supplierLogQuery" isEmpty=true >	
		<table class="listTable">
			<tr>
				<th>
					<span class="sort">供货商名称</span>
				</th>
				<th>
					<span class="sort">对应渠道接口</span>
				</th>
				<th>
					<span class="sort">是否启用</span>
				</th>
				<th>
					<span class="sort">开始时间</span>
				</th>
				<th>
					<span class="sort">到期时间</span>
				</th>							
			</tr>
		<#list page.list as entry>
			<tr>
				<td>
					${(entry.supplierName)!}
				</td>
				<td>
					${(entry.interfaceName)!}
				</td>
				<td>
					${entry.enable?string('是','否')}
				</td>
				<td>
				<#if entry.startTime?exists&&entry.startTime?is_date>
					${entry.startTime?string("yyyy-MM-dd")}
				</#if>
				</td>
				<td>
				<#if entry.endTime?exists&&entry.endTime?is_date>
					${entry.endTime?string("yyyy-MM-dd")}
				</#if>
				</td>			
			</tr>
		</#list>
		</table>
		</@pageList>
	</div>
</body>
